package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.List;

/**
 * @ClassName College
 * @Description TODO  学院实体
 * @Author lvyongwei
 * @Date 2020-09-24 10:21
 **/
@Data
@Alias("college")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class College {

    /**
     * 学院id
     */
    private Integer collegeId;

    /**
     * 学院名称
     */
    private String collegeName;


    /**
     * 专业集合
     */
    private List<Major> majorList;
}
